#ifndef __MOD_H__
#define __MOD_H__
#include "squid.h"

#define MOD_URL_MAX 2048

typedef struct colorido_mod{
	char *name;
	int (*init)();
	int (*process)(squid_t *);
	int (*end)();
	void *dl;
}colorido_mod_t;

#define DECLARE_MOD(nme,ini_f,pr_t,end_f) void colorido_init(colorido_mod_t *m){ \
	m->name=nme;m->init=ini_f,m->end=end_f;m->process=pr_t;}

#endif
